libxl: Introduce a QMP client
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 29 Sep 2011 15:30:54 +0000 (16:30 +0100)
committerAnthony PERARD <anthony.perard@citrix.com>
Thu, 29 Sep 2011 15:30:54 +0000 (16:30 +0100)
commitafa6bb987beef1e8184cc408e754988ce1b940ee
treead516ce2152b4b89b2449d2513f7f202245f3663
parent5265647e9aa6b3fa5e3b6f0dc795f763375b5e62
libxl: Introduce a QMP client

QMP stands for QEMU Monitor Protocol and it is used to query information
from QEMU or to control QEMU.

This implementation will ask QEMU the list of chardevice and store the
path to serial ports in xenstored. So we will be able to use xl console
with QEMU upstream.

In order to connect to the QMP server, a socket file is created in
/var/run/xen/qmp-libxl-$(domid).

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/Makefile
tools/libxl/libxl.c
tools/libxl/libxl_create.c
tools/libxl/libxl_dm.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_qmp.c [new file with mode: 0644]